<gn-buttons>
  <button mat-raised-button gnTableButtonNew gnDialog [content]="typeEdit"
          (onClose)="table.cleanSelectionAndLoadData()"></button>
  <button mat-raised-button gnTableButtonEdit gnDialog [table]="table" [content]="typeEdit"
          [data]="table.selectedId" (onClose)="table.cleanSelectionAndLoadData()"></button>
  <button mat-raised-button gnTableButtonDelete [table]="table" (click)="table.delete()"></button>
  <button mat-raised-button gnDialog [content]="typeFunc" [data]="table.selectedId"
          [disabled]="!table.hasSelectedOne" (onClose)="table.cleanSelectionAndLoadData()">授权功能
  </button>
  <button mat-raised-button gnDialog [content]="typeManage" [data]="table.selectedId"
          [disabled]="!table.hasSelectedOne" (onClose)="table.cleanSelectionAndLoadData()">可管理角色
  </button>
</gn-buttons>
<gn-table idField="id" url="/MANAGE-SERVICE/roles" sortField="name" [includes]="['functions']"
          [columns]="columns">
</gn-table>
